import Mock from 'mockjs'

let trainingList = {
    content: [
        {
            canAccess: true,
            contentCount: 1,
            cover: "https://rs.dance365.com/photo/ff80808183536c29018359725a246da3_rs_30366575a62b44dea5c130b4c095e0c0.jpg",
            createMethod: "user",
            creator: "ff80808183536c3d0183585503575210",
            deleteFlag: false,
            id: "ff80808183536c29018359725a246da3",
            isDelete: 0,
            openOutside: 0,
            planAddCount: 1,
            planName: "如何学舞练舞？创建练习室，视频秒变教程，任何视频都能学！",
            status: "processing",
            weekTrainedCount: 1,
            weekTrainedDuration: 188000,
            weeklyPlanCount: 0,
            weeklyPlanDuration: 0
        },
        {
            canAccess: true,
            contentCount: 7,
            cover: "https://rs.dance365.com/photo/f9585737-986a-40af-809b-ce761cc7e6f3.jpg",
            createMethod: "user",
            creator: "ff80808178eeacff0178efba37fd4ce2",
            deleteFlag: false,
            id: "ff80808178eeacff0178f350f581134f",
            isDelete: 0,
            openOutside: 1,
            planAddCount: 17,
            planName: "尊巴舞",
            status: "init",
            weekTrainedCount: 0,
            weekTrainedDuration: 0,
            weeklyPlanCount: 0,
            weeklyPlanDuration: 0
        },
        {
            canAccess: true,
            contentCount: 30,
            cover: "https://rs.dance365.com/photo/ff808081804a09b601804f0aac0e63be_rs_fd69891ef635406da656bf92029f40eb.jpg",
            createMethod: "user",
            creator: "ff8080817bee3da9017c067d96fc3a8b",
            deleteFlag: false,
            id: "ff808081804a09b601804f0aac0e63be",
            isDelete: 0,
            openOutside: 1,
            planAddCount: 8556,
            planName: "燃脂舞",
            status: "init",
            weekTrainedCount: 0,
            weekTrainedDuration: 0,
            weeklyPlanCount: 0,
            weeklyPlanDuration: 0
        }
    ],
    first: true,
    last: true,
    number: 0,
    numberOfElements: 3,
    offset: null,
    size: 20,
    sort: null,
    statistics: null,
    totalElements: 3,
    totalPages: 1,
    useOffset: false
}
Mock.mock('/trainingRoom/mock/training', function () {
    return {
        code: 200,
        data: trainingList,
        message: 'success'
    }
})
